#include <iostream>
using namespace std;
struct person{
    char name[11];
    int no;
    int score;
};
int func1(int a[],person * p,char s[])
{
    cout<<"sizeof(a) = "<<sizeof(a)<<endl;
    cout<<"sizeof(p) = "<<sizeof(p)<<endl;
    cout<<"sizeof(s) = "<<sizeof(s)<<endl;
    for(int i = 0; i<10; i++)
    {
        cout<<a[i];
    }
    cout<<endl<<"s = "<<s<<endl;
    s[0] = 'a';
    cout<<s<<endl;
    return 0;
}
int main()
{
    int a[10] = {};
    person zs = {"zhangsan",10};
    char s[15] = "hello world!";
    cout<<"sizeof A in main = "<<sizeof(a)<<endl;
    cout<<"sizeof s in main = "<<sizeof(s)<<endl;
    func1(a,&zs,s);
    s[1] = 'b';
    cout<<s;
}